/*
 * JobManager.h
 *
 *  Created on: 2013-9-7
 *      Author: wh
 */

#ifndef JOBMANAGER_H_
#define JOBMANAGER_H_

#include "BaseManager.h"

typedef enum {
	LISTJOBS = 1
} JobGetTag;

class JobManager: public BaseManager,
		public KKGetMethodListener,
		public KKPostMethodListener {
private:
	;CC_SYNTHESIZE_READONLY(KKModelList*,m_jobs,Jobs)

public:
	JobManager();

	virtual ~JobManager();

	virtual void onGetMethodCallBack(KKGetState state, const char* tag,
			std::string result);

	virtual void onPostMethodCallBack(KKPostState state, const char* tag,
			std::string result);

	void listJobs(CCObject* pTarget, SEL_ModelSelector pSelector);

};

#endif /* JOBMANAGER_H_ */
